/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class StageEnum extends StringEnum
{
    public static final String PROJECTUP_VALUE = "10";
    public static final String PROJECTING_VALUE = "20";
    public static final String ACCEPTANCE_VALUE = "30";
    public static final String MONEYEND_VALUE = "40";
    public static final String PROJECTEND_VALUE = "50";

    public static final StageEnum projectUp = new StageEnum("projectUp", PROJECTUP_VALUE);
    public static final StageEnum projecting = new StageEnum("projecting", PROJECTING_VALUE);
    public static final StageEnum acceptance = new StageEnum("acceptance", ACCEPTANCE_VALUE);
    public static final StageEnum moneyEnd = new StageEnum("moneyEnd", MONEYEND_VALUE);
    public static final StageEnum projectEnd = new StageEnum("projectEnd", PROJECTEND_VALUE);

    /**
     * construct function
     * @param String stageEnum
     */
    private StageEnum(String name, String stageEnum)
    {
        super(name, stageEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static StageEnum getEnum(String stageEnum)
    {
        return (StageEnum)getEnum(StageEnum.class, stageEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(StageEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(StageEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(StageEnum.class);
    }
}